package org.dromara.germbank.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
import org.dromara.germbank.domain.BusOperationsAdvertisement;
import org.dromara.germbank.domain.vo.BusOperationsAdvertisementVo;

/**
 * 广告管理 数据层
 *
 * @author congxing
 */
@Mapper
public interface BusOperationsAdvertisementMapper extends BaseMapperPlus<BusOperationsAdvertisement, BusOperationsAdvertisementVo>  {
    /**
     * 分页查询用户列表，并进行数据权限控制
     *
     * @param page         分页参数
     * @param queryWrapper 查询条件
     * @return 分页的用户信息
     */
    default Page<BusOperationsAdvertisementVo> queryPageList(Page<BusOperationsAdvertisement> page, Wrapper<BusOperationsAdvertisement> queryWrapper){
        return this.selectVoPage(page, queryWrapper);
    }
}
